package pl.vanta.utils.ejb.ejbqlb;

import pl.vanta.utils.ejb.ejbqlb.parts.From;
import pl.vanta.utils.ejb.ejbqlb.parts.Select;

public class QueryBuilder
{
	public static <T> From<T> FROM(Class<T> t)
	{
		return new From<T>(SELECT(t), t);
	}

	public static <T> Select<T> SELECT(Class<T> t)
	{
		return new Select<T>(false);
	}

	public static <T> Select<T> SELECT_DISTINCT(Class<T> t)
	{
		return new Select<T>(true);
	}
}